<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="header::header" />

<body>
<div style="margin: 15px;">
			
<div class="layui-form layui-form-pane">
<form id="form">
  <div class="layui-form-item">
    <label class="layui-form-label">角色名称</label>
    <div class="layui-input-inline">
      <input type="text" name="roleName"  autocomplete="off" class="layui-input"></input>
    </div>
  </div>
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">文本域</label>
    <div class="layui-input-block">
      <textarea placeholder="请输入内容" name="remark" class="layui-textarea"></textarea>
    </div>
  </div>
  </form>
  <div class="layui-form-item">
        <button class="layui-btn layui-btn-primary layui-btn-big"  id="btnSumbit">提交</button>
  </div>
  <span th:text="${role.roleId}"></span>
</div>
</div>
<script th:inline="javascript">
/*<![CDATA[*/
    var role = [[${role}]];
/*]]>*/
</script>

<script type="text/javascript" th:src="@{/public/js/sys/roleOper.js}"></script>
</body>

</html>